<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>麦知网——学问有余，可为人师</title>

<!-- Bootstrap core CSS -->
<link href="../../../../css/bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="../../../../css/font-awesome.min.css" rel="stylesheet">
<link href="../../../../css/non-responsive.css" rel="stylesheet">
<link href="../../../../css/player.css" rel="stylesheet">    

 
</head>
<body>
	{% include 'public/common/header.html' %}
	<div class="container" style="margin-top:45px">
		<div class="row">
			<div class="col-xs-12">
<!-- left div -->
				<div class="pull-left">
					<div>
						<div>
							<ol class="breadcrumb play_breadcrumb">
							  <li><a href="{% url 'courses:types' %}">课程系列</a></li>
							  <li><a href="{% url 'courses:tinytypes' types.id %}">{{types.name}}</a></li>
							  <li><a href="{% url 'courses:courselist' tiny.id %}">{{tiny.name}}</a></li>
							  <li><a href="{% url 'courses:thecourse' course.id %}">{{course.name}}</a></li>
							  <li class="active">{{lession.name}}</li>
							</ol>
						</div>
						<div style="width:600px;height:400px;">
							<div id="video" style="position:relative;z-index: 9999;height:400px;width:600px;float: left;"><div id="a1"></div></div>
							<script type="text/javascript" src="../../../../player/ckplayer/ckplayer.js" charset="utf-8"></script>
							<script type="text/javascript">
								var flashvars={
									f:'{{lession.video}}',
									c:0,
									b:1,
									//l:'http://www.ckplayer.com/down/adv6.1_1.swf|http://www.ckplayer.com/down/adv6.1_2.swf',//前置广告，swf/图片/视频，多个用竖线隔开，图片和视频要加链接地址
									r:'',
									};
								var params={bgcolor:'#FFF',allowFullScreen:true,allowScriptAccess:'always'};
								CKobject.embedSWF('../../../../player/ckplayer/ckplayer.swf','a1','ckplayer_a1','600','400',flashvars,params);
								/*
								CKobject.embedSWF(播放器路径,容器id,播放器id/name,播放器宽,播放器高,flashvars的值,其它定义也可省略);
								下面三行是调用html5播放器用到的
								*/
								var video=['http://movie.ks.js.cn/flv/other/1_0.mp4->video/mp4','http://www.ckplayer.com/webm/0.webm->video/webm','http://www.ckplayer.com/webm/0.ogv->video/ogg'];
								var support=['iPad','iPhone','ios','android+false','msie10+false'];
								CKobject.embedHTML5('video','ckplayer_a1',600,400,video,flashvars,support);
								var box = new LightBox();
							  </script>
						</div>
					</div>
				</div>
<!-- right div -->
				<div class="pull-right">
					<div class="play_teacher">
						<div class="pull-left">
							<img src="{{info.domain}}/{{info.img}}" class="img-circle play_tea_img" width="100%"/>
						</div>
						<div class="pull-left play_tea_intro">
							<div>
								<div class="pull-left play_tea_intro11"><a href="{% url 'users:home' info.user_id %}" title="{{info.user_name}}"><b>{{info.user_name}}</b></a>{% ifequal purview '1' %}<i class="icon-check" title="认证用户" style="margin-left:7px"></i>{% endifequal %}{% ifequal purview '2' %}<i class="icon-home" title="企业用户" style="margin-left:7px"></i>{% endifequal %}</div>
								<div class="pull-left">
								{% ifequal focus '0' %}<span class="focus"><button id="add{{course.teacher_id}}" type="button" onclick="add({{course.teacher_id}})" class="btn btn-info btn-xs">+ 关注</button><button id="abord{{course.teacher_id}}" style="display:none" type="button" onclick="add({{course.teacher_id}})" class="btn btn-danger btn-xs">取消关注</button></span></div>
								{% endifequal %}
								{% ifequal focus '1' %}
								<span class="focus"><button id="abord{{course.teacher_id}}" type="button" style="display:none" onclick="add({{course.teacher_id}})" class="btn btn-info btn-xs">+ 关注</button><button id="add{{course.teacher_id}}"  type="button" onclick="add({{course.teacher_id}})" class="btn btn-danger btn-xs">取消关注</button></span>
								{% endifequal %}
								</div>
							</div>
							<div class="play_tea_intro2"><i>
								{{info.sign}}
							</i></div>
						</div>
						<div class="clearfix"></div>
					</div>
					<div class="pull-left play_text">
						<div><b>本课时文档</b></div>

						<div class="play_text2"><a href="{% url 'courses:viewer' lession.id %}" taget="_blank"><b>查看</b></a>&nbsp;&nbsp;或&nbsp;&nbsp;<a href=""><b>下载</b></a></div>
					</div>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
	

	
	
	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
	
<script src="../../../../js/logout.js"></script>
</body>
</html>
